﻿namespace EFS.RC.Survey.Controls.HyperlinkButtons
{
	public abstract class Base : System.Windows.Controls.HyperlinkButton
	{
		public Base()
			: base()
		{
			this.Loaded += new System.Windows.RoutedEventHandler(Base_Loaded);
		}

		/// OnLoaded
		protected virtual void OnLoaded(object sender, System.Windows.RoutedEventArgs e)
		{
			UpdateUI();
		}

		/// UpdateUI
		protected virtual void UpdateUI()
		{
		}

		#region Events
		/// Base_Loaded
		private void Base_Loaded(object sender, System.Windows.RoutedEventArgs e)
		{
			OnLoaded(sender, e);
		}
		#endregion
	}

}